<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <jsp:include page="/resources/inc/pageHead.jsp"/>
</head>
<body>
<form class="layui-form layui-form-pane" id="_form">
    <input type="hidden" name="id" value="${file.id}" class="layui-input">
    <div class="layui-form-item">
        <label class="layui-form-label">目录层级</label>
        <div class="layui-input-block">
            <input type="text" value="${folderPath}" readonly="readonly"
                   class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">文件名称</label>
        <div class="layui-input-block">
            <input type="text" name="filename" value="${file.filename}" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block" style="float: right">
            <button class="layui-btn" lay-submit="" lay-filter="sub">立即提交</button>
        </div>
    </div>
</form>

</body>
<jsp:include page="/resources/inc/pageFooter.jsp"/>
<script>
    $(function () {
        FormCommon.initForm({
            url: "${basePath}/manage/oss/file/system/update"
        });
    });

</script>
</html>
